package com.clock.shop.mapper;

import com.clock.shop.domain.ShopEmployee;

import java.util.List;


/**
 * 职工Mapper接口
 * 
 * @author ruoyi
 * @date 2024-10-11
 */
public interface ShopEmployeeMapper 
{
    public List<ShopEmployee> selectShopEmployeeListByShopId(Long shopId);
    /**
     * 查询职工
     * 
     * @param employeeId 职工主键
     * @return 职工
     */
    public ShopEmployee selectShopEmployeeByEmployeeId(Long employeeId);

    /**
     * 查询职工列表
     * 
     * @param shopEmployee 职工
     * @return 职工集合
     */
    public List<ShopEmployee> selectShopEmployeeList(ShopEmployee shopEmployee);

    /**
     * 新增职工
     * 
     * @param shopEmployee 职工
     * @return 结果
     */
    public int insertShopEmployee(ShopEmployee shopEmployee);

    /**
     * 修改职工
     * 
     * @param shopEmployee 职工
     * @return 结果
     */
    public int updateShopEmployee(ShopEmployee shopEmployee);

    /**
     * 删除职工
     * 
     * @param employeeId 职工主键
     * @return 结果
     */
    public int deleteShopEmployeeByEmployeeId(Long employeeId);

    /**
     * 批量删除职工
     * 
     * @param employeeIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteShopEmployeeByEmployeeIds(Long[] employeeIds);
}
